#!/bin/sh
echo ${JAVA_OPTS}
echo agent.service_name=$APPLICATION_NAME > /agent/config/agent.config
echo collector.backend_service=$COLLECTORS >> /agent/config/agent.config
set -e
set -x
java ${JAVA_OPTS} -jar /app/framework-boot.jar